import React, { Component } from 'react';
import RouterView from './router';
import routes from './router/config';
import { BrowserRouter } from 'react-router-dom';

export default class App extends Component {
  render() {
    return (
      <div>
        <BrowserRouter>
          <RouterView routes={routes}></RouterView>
        </BrowserRouter>
      </div>
    )
  }
}

